//
//  ZLCAboutUsViewController.m
//  HappilyLoan
//
//  Created by 纵情向前 on 2017/4/25.
//  Copyright © 2017年 zongqingxiangqian. All rights reserved.
//

#import "ZLCAboutUsViewController.h"
#import "PublicClass.h"
#import "ZFHeader.h"
@interface ZLCAboutUsViewController ()
@property (nonatomic,strong)UIImageView *img;
@property (nonatomic,strong)UILabel *OneLabel;
@property (nonatomic,strong)UILabel *TwoLabel;
@property (nonatomic,strong)UILabel *ThreeLabel;
@end

@implementation ZLCAboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"关于我们";
    self.view.backgroundColor = [UIColor whiteColor];
    [self setUI];
    // Do any additional setup after loading the view.
}
- (void)setUI{
    _img = [[UIImageView alloc] init];
    _img.frame = CGRectMake(0, 0, ADAPTATION_WIDTH(260), ADAPTATION_HEIGHT(130));
    _img.center = CGPointMake(MAINSCREEN_WIDTH/2, ADAPTATION_HEIGHT(136)+64);
    _img.image = [UIImage imageNamed:@"about"];
    [self.view addSubview:_img];
    
    _OneLabel = [[UILabel alloc] init];
    _OneLabel.frame = CGRectMake(0, 0, ADAPTATION_WIDTH(100), ADAPTATION_HEIGHT(20));
    _OneLabel.center = CGPointMake(MAINSCREEN_WIDTH/2, _img.frame.origin.y+_img.frame.size.height+ADAPTATION_HEIGHT(30));
    _OneLabel.text = @"V1.0";
    _OneLabel.font = [UIFont systemFontOfSize:14];
    _OneLabel.textColor = [UIColor lightGrayColor];
    _OneLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:_OneLabel];
    
    _TwoLabel = [[UILabel alloc] init];
    _TwoLabel.frame = CGRectMake(0, 0, ADAPTATION_WIDTH(340), ADAPTATION_HEIGHT(200));
    _TwoLabel.center = CGPointMake(MAINSCREEN_WIDTH/2, _OneLabel.frame.origin.y+_OneLabel.frame.size.height+ADAPTATION_HEIGHT(60));
    _TwoLabel.text = @"        信用借贷是深圳市前海辉誉金融服务有限公司倾力打造的一款借款平台，我们始终秉承“数据让信用更有价值“的理念，服务数十万急需融资的小微企业、个体工商户和个人用户。";
    _TwoLabel.font = [UIFont systemFontOfSize:16];
    _TwoLabel.numberOfLines = 0;
    _TwoLabel.textColor = [UIColor lightGrayColor];
    _TwoLabel.textAlignment = NSTextAlignmentLeft;
    [self.view addSubview:_TwoLabel];
    
    _ThreeLabel = [[UILabel alloc] init];
    _ThreeLabel.frame = CGRectMake(0, 0, ADAPTATION_WIDTH(260), ADAPTATION_HEIGHT(20));
    _ThreeLabel.center = CGPointMake(MAINSCREEN_WIDTH/2, ADAPTATION_HEIGHT((667-15)));
    _ThreeLabel.text = @"© HuiYu Financial Service Co.. Ltd";
    _ThreeLabel.font = [UIFont systemFontOfSize:14];
    _ThreeLabel.textColor = [UIColor lightGrayColor];
    _ThreeLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:_ThreeLabel];
    
}
- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    self.navigationController.navigationBarHidden = NO;
    self.tabBarController.tabBar.hidden = YES;
    [MobClick beginLogPageView:@"aboutUs"];
}
- (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    [MobClick endLogPageView:@"aboutUs"];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
